const API = {
    //正式环境图片服务器域名
    imageDomain : "http://yabei.oss-cn-beijing.aliyuncs.com/",
    taotejia:'http://tk.yabei.shop',
    evaluate:'http://api.yabei.shop',
    //测似环境图片服务器域名
    //imageDomain : "http://lgf8953.oss-cn-beijing.aliyuncs.com/",
    //serviceDomain : "http://120.27.12.205:9080/rest",
    //国放机器
    //serviceDomain : "http://181j970a19.imwork.net:28204/rest",
    //生产
    serviceDomain : "http://116.62.212.204:8082/rest",
    outsideServiceDomain : "http://tk.yabei.shop",
    currentVersion:"1.1.1",//最新版app的版本号
    userLogin : "/user/login",
    indexBanner:'/app/banner/list',
    registerSendCode : "/user/register/sendCode",
    register:"/user/register",
    restSendCode : "/personal-center/sendCode",
    restPassword:"/personal-center/reset-password",
    modifyPassword:"/personal-center/modify-password",
    productArray: "/product/array",
    firstCategories:"/product/f_category",
    thirdCategories:"/product/t_category",
    prodctDetail:"/product/detail",
    shopIndex:"/shop/detail/index",
    shopDetail:"/shop/desc",
    shopGoods:"/shop/detail/all",
    shopNewGoods:"/shop/detail/new-product",
    shopCategory:"/shop/detail/categories",
    orderByQuick:"/order/buyNow",
    orderSubmit:"/order/submit",
    orderPay:"/order/pay/init",
    orderList:"/order/list",
    orderDelete:"/order/delete",
    orderDetail:"/order/detail",
    orderReceive:"/order/receive",
    orderCancel:"/order/cancel",
    orderExpress:"/order/express",
    personIndex:"/personal-center/index",
    personDetail:"/personal-center/user-data",
    personModify:"/personal-center/modify-user-data",
    personAddressList:"/personal-center/shopping-address",
    personAddressModify:"/personal-center/modify-shopping-address",
    personAddressDelete:"/personal-center/delete-shopping-address",
    collectionProduct:"/personal-center/collection/add",
    collectionList:"/personal-center/collection",
    collectionDelProduct:"/personal-center/collection/delete",
    checkVersion:"/app/version/check",
    outsideProductSearch:"/search",
    checkToken:"/token/check",
    applyBack:"/refund/apply",
    cancelApply:"/refund/apply/cancel",
    evaluateList:'/evaluate/list/goods',
    evaluateDetail:'/evaluate',
    addEvaluate:'/evaluate/add',
    evaluateUserList:'/evaluate/list/user',
    evaluateShopRate:'/evaluate/rating',
    cates:'/cates',
    testQiNiuUrl:'http://qiniu.yabei.shop/token/upload?bucket=',
    testYbAvatarDomin:'http://oy9pdbwo3.bkt.clouddn.com/',//测试头像
    prodYbAvatarDomin:'http://oy9pish95.bkt.clouddn.com/',//头像正式域名
    ybAvatarBucket:'ybAvatar',
    testYbAppraiserDomin:'http://oy99t6jcp.bkt.clouddn.com/',//正式评价
    prodYbAppraiseDomin:' http://oy99syvpg.bkt.clouddn.com/',//测试评价式域名
    ybAppraiseBucket:'ybAppraise',
}
export default API
